<?php
/**
 * +----------------------------------------------------------------------
 * | Author: 罗极
 * +----------------------------------------------------------------------
 * | Description: AbstractController.php
 * +----------------------------------------------------------------------
 * | User: Administrator Date: 8/24/ 0024 Time: 15:35
 * +----------------------------------------------------------------------
 */

namespace Framework\Controller\Abstracts;

abstract class AbstractController
{
    protected function xss(string $str) : string
    {
        return addslashes(htmlspecialchars(strip_tags(trim($str))));
    }

}